package io.sdl.common.sys.dao;

import io.sdl.common.dao.BaseDao;
import io.sdl.common.sys.entity.SdlDoctorsEntity;
import io.sdl.common.sys.vo.SdlDoctorsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author Dc 1211734836@qq.com
 * @since 1.0.0 2025-03-28
 */
@Mapper
public interface SdlDoctorsDao extends BaseDao<SdlDoctorsEntity> {

    //根据手机号查询专家信息
    SdlDoctorsEntity findByPhone(@Param("phone") String phone);


    //查询专家
    List<SdlDoctorsVo> findAll(Map<String, Object> params);

    //获取专家详情
    SdlDoctorsVo getDetail(@Param("id")Long id);

}